package com.easycar.common.util;

import android.util.Log;

import com.easycar.common.base.GRunTime;


/**
 * 光享指南 日志打印
 */
public class GLog {
    private static final  String GTAG="light_easy_car";
    public  static  boolean getIsDeubg(){
        return GRunTime.getInstance().isDebug();
    }
    public static void i(String tag ,String msg){
        if(getIsDeubg())
            Log.i(GTAG+tag, msg);
    }
    public static void w(String tag ,String msg){
        if(getIsDeubg())
            Log.w(GTAG+tag, msg);
    }

    public static void e(String tag ,String msg){
        if(getIsDeubg())
            Log.e(GTAG+tag, msg);
    }

    public static void d(String tag ,String msg){
        if(getIsDeubg())
            Log.d(GTAG+tag, msg);
    }

    public static void i(String msg){
        if(getIsDeubg())
            Log.i(GTAG, msg);
    }

    public static void w(String msg){
        if(getIsDeubg())
            Log.w(GTAG, msg);
    }

    public static void e(String msg){
        if(getIsDeubg())
            Log.e(GTAG, msg);
    }

    public static void d(String msg){
        if(getIsDeubg())
            Log.d(GTAG, msg);
    }




}
